package com.kavenka.zhufengfm.app.tasks.discover;

import com.kavenka.zhufengfm.app.Constants;
import com.kavenka.zhufengfm.app.client.DiscoverClientAPI;
import com.kavenka.zhufengfm.app.http.HttpUtil;
import com.kavenka.zhufengfm.app.tasks.BaseTask;
import com.kavenka.zhufengfm.app.tasks.TaskCallBack;
import com.kavenka.zhufengfm.app.tasks.TaskResult;

/**
 * Created by kavenka on 2015/9/25 0025.
 */
public class DiscoverRecommendTask extends BaseTask {
    public DiscoverRecommendTask(TaskCallBack taskCallBack) {
        super(taskCallBack);
    }

    @Override
    protected TaskResult doInBackground(String... params) {
        TaskResult ret=new TaskResult();
        ret.action= Constants.TASK_ACTION_DISCOVER_RECOMMEND;
        ret.data = DiscoverClientAPI.getDiscoverRecommend("and-f6", true, true, "2", "4.1.7.1");
        return ret;
    }
}
